package cloudlearn.hello.feign;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;


/**
 * Project Name: cloud-learn
 * File Name: TestFeign
 * Package Name: cloudlearn.hello.feign
 * Date: 2018/7/27  16:29
 * Copyright (c) 2018, tianyul All Rights Reserved.
 */
@FeignClient(name = "demo", fallback = TestFeignHystrix.class)
public interface TestFeign {

    //CA申请
    @PostMapping("/test")
    void test();

    @PostMapping("/test2")
    void test2();
}
